From a1a6b005b65fd829c743d8cf6de7e146ed49086e Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Wed, 2 Feb 2011 14:07:08 +0000 Subject: [PATCH] Follow-up r79964: Fix double parsing of file info --- includes/ImagePage.php | 2 +- includes/specials/SpecialSearch.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index d00120f507..063adc0558 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -330,7 +330,7 @@ class ImagePage extends Article { $height_orig = $this->displayImg->getHeight( $page ); $height = $height_orig; - $longDesc = wfMsgExt( 'parentheses', 'parseinline', $this->displayImg->getLongDesc() ); + $longDesc = wfMsg( 'parentheses', $this->displayImg->getLongDesc() ); wfRunHooks( 'ImageOpenShowImageInlineBefore', array( &$this, &$wgOut ) ); diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index cf173ed5dc..18c534ed47 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -596,7 +596,7 @@ class SpecialSearch extends SpecialPage { if( $img ) { $thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) ); if( $thumb ) { - $desc = wfMsgExt( 'parentheses', 'parseinline', $img->getShortDesc() ); + $desc = wfMsg( 'parentheses', $img->getShortDesc() ); wfProfileOut( __METHOD__ ); // Float doesn't seem to interact well with the bullets. // Table messes up vertical alignment of the bullets. -- 2.20.1